-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ramp_convert .py to .xlsx files to command line #131
Conversation
I've added @ClaudiaLSS and @mohammadamint because I believe they may also be on Windows or a non-Linux system and may help test this. |
Hey @FLomb, I've been working on Linux, and it seems to be working fine for me. I'm not sure if I'll be able to test this. |
We still need a windows user to tell us if it works, then I will update the documentation with this new command |
Perhaps @FraSanvit could make a test on Windows |
6609e49
to
673d5d1
Compare
I have some issues running it (get some errors), not sure if it is the correct way or not:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would be nice to add it to the docs API section also, so user can read the function features
This should probably be the path which is not what windows expects, maybe if you provide the full absolute path it works ? If you look at the first post of this thread, I explain how to test this feature in the terminal as well, can you try this as well? I think the problematic call happens there: RAMP/ramp/ramp_convert_old_input_files.py Line 84 in 8b66734
|
755f3ce
to
ef0d223
Compare
ef0d223
to
aadb838
Compare
@mohammadamint - I updated the documentation @s-eckoff did test that it was working on windows, and I tested with a colleague who has windows, it worked As our tests all passed and I implemented your suggestion I will merge now |
This should fix #130
On linux it works. @Stevogallo - could you try on windows?
In a new virtual env, install this ramp version by checking out this branch and then form the root of the repository you type
pip install -e .
To test if it works I suggest you move then within your terminal to a different folder where you copy-paste a
.py
file, then you should be able to convert it to excel using in the command lineramp_convert -i <name of your .py ramp input file>
Alternatively, you should be able to do it from within a python script: